// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
// 引入Vuex存在的仓库地址
import store from './store/index'
// 基础样式
import 'styles/reset.css'
// 1像素边框的问题
import 'styles/border.css'
// 300毫秒点击延迟的问题
import fastClick from 'fastclick'
// 引入字体文件
import 'styles/iconfont.css'
// 引入轮播插件以及样式
import VueAwesomeSwiper from 'vue-awesome-swiper'
require('swiper/dist/css/swiper.css')

Vue.config.productionTip = false
// 使用fastClick自带的方法
fastClick.attach(document.body)
// 对轮播插件的使用
Vue.use(VueAwesomeSwiper)

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  store,
  components: { App },
  template: '<App/>'
})
